package org.jeecg.modules.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.manage.entity.CaishuiBill;

/**
 * @Description: 开票记录
 * @Author: yfkj
 * @Date:   2023-02-23
 * @Version: V1.0
 */
public interface IMCaishuiBillService extends IService<CaishuiBill> {


    /**
     * 查询开票中金额
     * @param businessId
     * @param companyId
     * @return
     */
    public double queryInAmount(String businessId, String companyId);

    /**
     * 查询已开票金额
     * @param businessId
     * @param companyId
     * @return
     */
    public double queryAlreadyAmount(String businessId, String companyId);

}
